package com.indexingsystem.boss.entity;

import java.io.Serializable;

/**
 * dh_resource_update_record
 * @author 
 */
public class ResourceUpdateRecord implements Serializable {
    private String resourceUpdateRecordId;

    private String resourceCategoryId;

    private String resId;

    private String resTypeId;

    private String resTable;

    private String superCategoryId;

    private String operatedate;

    private String state;

    private static final long serialVersionUID = 1L;

    public String getResourceUpdateRecordId() {
        return resourceUpdateRecordId;
    }

    public void setResourceUpdateRecordId(String resourceUpdateRecordId) {
        this.resourceUpdateRecordId = resourceUpdateRecordId;
    }

    public String getResourceCategoryId() {
        return resourceCategoryId;
    }

    public void setResourceCategoryId(String resourceCategoryId) {
        this.resourceCategoryId = resourceCategoryId;
    }

    public String getResId() {
        return resId;
    }

    public void setResId(String resId) {
        this.resId = resId;
    }

    public String getResTypeId() {
        return resTypeId;
    }

    public void setResTypeId(String resTypeId) {
        this.resTypeId = resTypeId;
    }

    public String getResTable() {
        return resTable;
    }

    public void setResTable(String resTable) {
        this.resTable = resTable;
    }

    public String getSuperCategoryId() {
        return superCategoryId;
    }

    public void setSuperCategoryId(String superCategoryId) {
        this.superCategoryId = superCategoryId;
    }

    public String getOperatedate() {
        return operatedate;
    }

    public void setOperatedate(String operatedate) {
        this.operatedate = operatedate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ResourceUpdateRecord other = (ResourceUpdateRecord) that;
        return (this.getResourceUpdateRecordId() == null ? other.getResourceUpdateRecordId() == null : this.getResourceUpdateRecordId().equals(other.getResourceUpdateRecordId()))
            && (this.getResourceCategoryId() == null ? other.getResourceCategoryId() == null : this.getResourceCategoryId().equals(other.getResourceCategoryId()))
            && (this.getResId() == null ? other.getResId() == null : this.getResId().equals(other.getResId()))
            && (this.getResTypeId() == null ? other.getResTypeId() == null : this.getResTypeId().equals(other.getResTypeId()))
            && (this.getResTable() == null ? other.getResTable() == null : this.getResTable().equals(other.getResTable()))
            && (this.getSuperCategoryId() == null ? other.getSuperCategoryId() == null : this.getSuperCategoryId().equals(other.getSuperCategoryId()))
            && (this.getOperatedate() == null ? other.getOperatedate() == null : this.getOperatedate().equals(other.getOperatedate()))
            && (this.getState() == null ? other.getState() == null : this.getState().equals(other.getState()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getResourceUpdateRecordId() == null) ? 0 : getResourceUpdateRecordId().hashCode());
        result = prime * result + ((getResourceCategoryId() == null) ? 0 : getResourceCategoryId().hashCode());
        result = prime * result + ((getResId() == null) ? 0 : getResId().hashCode());
        result = prime * result + ((getResTypeId() == null) ? 0 : getResTypeId().hashCode());
        result = prime * result + ((getResTable() == null) ? 0 : getResTable().hashCode());
        result = prime * result + ((getSuperCategoryId() == null) ? 0 : getSuperCategoryId().hashCode());
        result = prime * result + ((getOperatedate() == null) ? 0 : getOperatedate().hashCode());
        result = prime * result + ((getState() == null) ? 0 : getState().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", resourceUpdateRecordId=").append(resourceUpdateRecordId);
        sb.append(", resourceCategoryId=").append(resourceCategoryId);
        sb.append(", resId=").append(resId);
        sb.append(", resTypeId=").append(resTypeId);
        sb.append(", resTable=").append(resTable);
        sb.append(", superCategoryId=").append(superCategoryId);
        sb.append(", operatedate=").append(operatedate);
        sb.append(", state=").append(state);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}